package com.mlnx.device.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mlnx.common.form.PageForm;
import com.mlnx.device.entity.SugarDevice;
import com.mlnx.device.pojo.dto.SugarDeviceDto;
import com.mlnx.device.pojo.form.SugarDeviceFilterForm;
import com.mlnx.device.pojo.form.SugarDeviceForm;

import java.util.List;

public interface SugarDeviceService extends IBaseService<SugarDevice> {

    void addSugarDevice(SugarDeviceForm sugarDeviceForm);

    Page<SugarDeviceDto> list(PageForm pageForm, SugarDeviceFilterForm sugarDeviceFilterForm);

    List<SugarDeviceDto> listOnlines(SugarDeviceFilterForm sugarDeviceFilterForm);

    void updateSugarDevice(Integer id, SugarDeviceForm sugarDeviceForm);

}
